﻿

namespace LxCFD
{
    public class Value1FromArray2<T> : Value1Base<T>
    {
        public T[] CellArray;
        public T[] FaceArray;
        public void setParameter(T[] cellArray, T[] faceArray)
        {
            this.CellArray = cellArray;
            this.FaceArray = faceArray;
        }
        public override T GetCellValue(int cellIndex)
        {
            return CellArray[cellIndex];
        }
        public override T GetFaceValue(int faceIndex)
        {
            return FaceArray[faceIndex];
        }
    }
}
